The power of water was first harnessed by means of simple waterwheels in the Orient as early as the third millennium BC. They were used to draw water automatically out of rivers in order to irrigate the surrounding land. Hydroelectric power stations first appeared in 1880 to generate electricity.